import request from '@/utils/request'

export default {
  login(user){
    return request({
      url: '/login',
      method: 'post',
      data: user
    })
  },
  logout(){
    return request({
      url: '/logout',
      method: 'get'
    })
  },
  report(){
    return request({
      url: '/report',
      method: 'post'
    })
  }
}
